package com.renwen.domain;

import java.util.List;

public class Plate {
    private int newsId;
    private String newsType;

    private List<News> newsList;
    private List<User> userList;

    public int getNewsId() {
        return newsId;
    }

    public void setNewsId(int newsId) {
        this.newsId = newsId;
    }

    public String getNewsType() {
        return newsType;
    }

    public void setNewsType(String newsType) {
        this.newsType = newsType;
    }

    public List<News> getNewsList() {
        return newsList;
    }

    public void setNewsList(List<News> newsList) {
        this.newsList = newsList;
    }

    public List<User> getUserList() {
        return userList;
    }

    public void setUserList(List<User> userList) {
        this.userList = userList;
    }

    @Override
    public String toString() {
        return "Plate{" +
                "newsId=" + newsId +
                ", newsType='" + newsType + '\'' +
                ", newsList=" + newsList +
                ", userList=" + userList +
                '}';
    }
}
